var gulp=require('gulp');
var less=require('gulp-less');
var plumber=require('gulp-plumber');

gulp.task('start-less',function(){
    gulp.src('less/**/*.less')
        .pipe(plumber())
        .pipe(less())
        .pipe(gulp.dest('css'));
});

gulp.task('default',function(){
    gulp.watch('less/**/*.less',['start-less']);
});